line2=if upper(log.type) = 'VOICE' & ~exists(voiceFile(mailbox, log.fileName)) then call smNeedToRecordOut
line3=if ~exists(voiceFile(mailbox, log.altFileName)) then call smNeedToRecordIntro
line4=if log.returnNumber = '' then do; call smNeedToEnterTel(); signal sendMessageToMenu; end
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=1
filename='avm:voices/numberToSendTo'
comment=The number to send this message to is ...
keyactiontype=3
keyactionaction=
faxactiontype=2
faxactionaction=call cleanSendMessageTo(); signal stdfax
dataactiontype=2
dataactionaction=call cleanSendMessageTo(); signal stddata
busyactiontype=2
busyactionaction=call cleanSendMessageTo(); signal stdbusy
abortactiontype=2
abortactionaction=call cleanSendMessageTo(); signal stdabort
erroractiontype=2
erroractionaction=call cleanSendMessageTo(); signal stderror
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=8
line1=call playNumber(log.returnNumber)
line2=
line3=
line4=
line5=
line6=
line7=
line8=
line9=
line10=
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=
nodetype=12
nextactiontype=3
nextactionaction=
endrecord=true
startrecord=true
label=sendMessageToMenu
nodetype=3
filename='avm:voices/editSendMessage'
comment=Press 1 to change the telephone number, 2 to record the outgoing message, 3 to edit the introduction, or 4 to go ahead and send this message. [*=hangup, 0=repeat menu, #=previous menu]
retries=3
zeroactiontype=0
zeroactionaction=sendMessageToMenu
oneactiontype=2
oneactionaction=call playNumber(log.returnNumber); log.returnNumber = getNumber(); signal sendMessageToMenu
twoactiontype=2
twoactionaction=if upper(log.type) = 'VOICE' then call recordMessage(voiceFile(mailbox, log.filename)); signal sendMessageToMenu
threeactiontype=2
threeactionaction=call editIntro(); signal sendMessageToMenu
fouractiontype=2
fouractionaction=if smCanSend() then do; call saveLogEntry(mailbox, handle); return 1; end; else signal sendMessageToMenu